/**
 * 
 */
package com.jm.web.form;


import java.io.IOException;

import javax.servlet.jsp.JspWriter;

import com.jm.web.form.support.FormItem;
import com.jm.web.tags.support.BaseTag;

/**
 * @author yanjie
 *
 * 2011/10/11 下午3:49:44
 */
public class Br extends FormItem{
	
	public static final String TAG_ITEMNAME = "br";
	/**
	 * @param tag
	 */
	public Br() {}
	
	@Override
	public void init() {
		super.init();
		this.setNodeName("br");
	}
	
	@Override
	public void onRender(JspWriter writer) {
		try {
			writer.write("<br/>");
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
